﻿using AvalonDockSample.Models;
using System.Collections.ObjectModel;
using System;

namespace AvalonDockSample.ViewModels
{
    public class ChartDocumentViewModel : DocumentViewModel
    {
        public ChartDocumentViewModel()
        {
            Title = "图表文档";
            ContentId = Guid.NewGuid().ToString();

            DataPoints = new ObservableCollection<DataPoint>
            {
                new DataPoint("一月", 20),
                new DataPoint("二月", 30),
                new DataPoint("三月", 40)
            };
        }

        public ObservableCollection<DataPoint> DataPoints { get; }
    }
}
